package fr.budokan.beans;

import java.util.Collections;
import java.util.List;

public class Exercice implements CompositeElement {


	
	private String name;
	private String shortDescription;

	public Exercice(String name){
		this.name = name;
	}
	
	
	@Override
	public List<CompositeElement> getChildren() {
		return Collections.emptyList();
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public String getShortDescription() {
		return shortDescription;
	}

	@Override
	public boolean isLeaf() {
		return true;
	}

	@Override
	public void setName(String name) {
		this.name = name;
	}


	@Override
	public int getChildCount() {
		return 0;
	}

}
